package org.anti996.lms.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 操作员表
 * </p>
 *
 * @author The Anti996 Authors
 * @since 2022-07-15
 */
@Getter
@Setter
  @ApiModel(value = "Operator对象", description = "操作员表")
public class Operator implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("操作员编号")
        @TableId(value = "o_id", type = IdType.AUTO)
      private Integer oId;

      @ApiModelProperty("用户名")
      private String username;

      @ApiModelProperty("密码")
      private String password;

      @ApiModelProperty("姓名")
      private String name;

      @ApiModelProperty("电话")
      private String phone;

      @ApiModelProperty("所属仓库编号")
      private Integer wId;

      @ApiModelProperty("逻辑删除")
       @TableLogic
      private Boolean deleted;

      private String avatar;
}
